class myShape extends egret.Shape {
	public constructor() {
		// 继承egret.Shape类
		super();
		this.addToStage();
	

	}
	// 添加到舞台的方法
	public addToStage(){
		this.graphics.beginFill(0x00ff00,1);
		this.graphics.drawRect(200,100,200,300);
		this.graphics.endFill();
		
	}
}